package edu.pku.sei.act.sampletask.parkinglot;

import edu.pku.sei.act.actools.util.Capability;
import edu.pku.sei.act.actools.util.TaskMessage;
import edu.pku.sei.act.sampletask.AutonomicParking;

public class _Parkinglot {
	public static final String ROLE_NAME = "Parkinglot";
	public static final String REWARDS = "";

	public static class state {
		public static final String READY = "ready to serve";
		public static final String PREPARE = "preparing";
	}

	public static class transformation {
		public static final String WORKING = "edu.pku.sei.act.sampletask.parkinglot.working";
		public static final String PREPARING = "edu.pku.sei.act.sampletask.parkinglot.preparing";
	}

	public static class capability {
		public static final Capability PROVIDE_POSITION = new Capability(null, "providePosition", null, Capability.PASSIVE_CAPABILITY, null, "String");
		public static final String _PROVIDE_POSITION = AutonomicParking.getTask().getTaskName() + "$" + ROLE_NAME + "," + PROVIDE_POSITION.getAbilityName();
	}

	public static class communication {
		public static final TaskMessage PARKING_NOTIFICATION = new TaskMessage(AutonomicParking.getTask().getTaskName(),null,null,"parking notification", null);
		public static final TaskMessage PARKING_SLOT_NOTIFICATION = new TaskMessage(AutonomicParking.getTask().getTaskName(),null,null,"parking slot notification", null);
	}
}
